package com.zhijian.warehouse.manage.service.sse;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

/**
 *
 * @Author chengqing
 * @Version 1.0.1
 */
@Builder
@Data
public class SseMessage {
    /**
     * 请求类型 0-连接请求;1-正常消息
     */
    private Integer type;
    /**
     * 消息对象
     */
    private Object data;
    
    @Tolerate
    public SseMessage() {}
}
